package com.pse.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.pse.mapper.GpsMapper;
import com.pse.model.Gps;
import com.pse.service.GpsService;

@Service
@Transactional
public class GpsServiceImpl implements GpsService{
	
	@Resource
	private GpsMapper gmapper;

	@Override
	public String save(Gps gps) {
		if(gmapper.save(gps) == true){
			return "ok";
		}
		return null;
	}

}
